home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_h.lzh / graphics / layers.h < prev    next >
C/C++ Source or Header  |  1991-03-14  |  1KB  |  55 lines

  1. #ifndef    GRAPHICS_LAYERS_H
  2. #define    GRAPHICS_LAYERS_H
  3. /*
  4. **    $Filename: graphics/layers.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 37.0 $
  7. **    $Date: 91/01/07 $
  8. **
  9. **
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_LISTS_H
  16. #include <exec/lists.h>
  17. #endif
  18.  
  19. #ifndef EXEC_SEMAPHORES_H
  20. #include <exec/semaphores.h>
  21. #endif
  22.  
  23. #define LAYERSIMPLE    1
  24. #define LAYERSMART    2
  25. #define LAYERSUPER    4
  26. #define LAYERUPDATING    0x10
  27. #define LAYERBACKDROP    0x40
  28. #define LAYERREFRESH    0x80
  29. #define LAYER_CLIPRECTS_LOST    0x100    /* during BeginUpdate */
  30.                     /* or during layerop */
  31.                     /* this happens if out of memory */
  32. #define LMN_REGION    -1
  33.  
  34. struct Layer_Info
  35. {
  36.     struct Layer *top_layer;
  37.     struct Layer *check_lp;        /* system use */
  38.     struct ClipRect *obs;        /* system use */
  39.     struct MinList    FreeClipRects;
  40.     struct SignalSemaphore Lock;
  41.     struct List gs_Head;            /* system use */
  42.     LONG    longreserved;
  43.     UWORD    Flags;
  44.     BYTE    fatten_count;
  45.     BYTE    LockLayersCount;
  46.     UWORD  LayerInfo_extra_size;
  47.     WORD    *blitbuff;
  48.     VOID    *LayerInfo_extra;
  49. };
  50.  
  51. #define NEWLAYERINFO_CALLED 1
  52. #define ALERTLAYERSNOMEM 0x83010000
  53.  
  54. #endif    /* GRAPHICS_LAYERS_H */
  55.